export default {
    inserted: function (el) {
        el.addEventListener("input", function (e) {
            let value = e.target.value
            value = value.replace(/[^\d]/g, '')
            e.target.value = value
        });
    }
}